#ifndef CREATECHAN_H
#define CREATECHAN_H

#include "QtGui/qapplication.h"
#include "QtGui/qtgui"



class CreateChannelWindow: public QWidget
{
	Q_OBJECT

	public:
		CreateChannelWindow(QWidget *parent = NULL);
		void setParentChannelId(int parentChannelId);
		void				keyPressEvent(QKeyEvent * eventArg);
	private slots:
		void createChannel();
	private:
		void		display();
		QWidget		*_parent;
		QLineEdit	*_chanName;
		QLineEdit	*_chanDesc;
		QLineEdit	*_chanMOTD;
		QLineEdit	*_chanPass;
		QLineEdit	*_chanConPass;
		int			_parentChannelId;
};

#endif